import Home from '@/views/Home.vue';
import CityWeather from '../views/CityWeather.vue';
import Login from '../views/Login.vue';
// 定义路由
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  {
    path: '/city-weather',
    name: 'CityWeather',
    component: CityWeather,
  },
  {
    path: '/login',
    name: 'Login',
    component: Login,
  },
];

export default routes;
